﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ReallyReallyReallySimpleRoguelike.Managers
{
    public class SoundManager
    {

        public Dictionary<string, string> Sounds;

        public SoundManager() 
        {
            Sounds = new Dictionary<string, string>();
            Sounds.Add("Battle", "Content/Sound/Battle.wav");
            Sounds.Add("Pluck", "Content/Sound/Pluck.wav");
        }

        public void PlaySound(string sound)
        {
            if (Properties.Settings.Default.SoundToggle)
            {
                System.Media.SoundPlayer player = new System.Media.SoundPlayer();
                player.SoundLocation = Sounds[sound];
                player.Play();
            }
        }
    }
    
    public enum SoundList
        {
            Battle,
            Pluck
        }
}
